Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fixed exhausts on predefined actors. #3205

Merged
merged 4 commits into from
Jan 3, 2025

Conversation

ohlidalp
Copy link
Member

@ohlidalp ohlidalp commented Dec 30, 2024

Problem: The trains on Train Valley now continuously produce smoke until you activate them.
image

Fix: shut down the particle emitters when spawning (unified code with custom-particles)

UPDATE: Also fixed savegame issues that manifested on this terrain: https://discord.com/channels/136544456244461568/189904947649708032/1323326091313545300

Problem: The trains on Train Valley now continuously produce smoke until you activate them.

Fix: shut down the particle emitters when spawning (unified code with custom-particles)
@CuriousMike56
Copy link
Member

👍

The code was introduced by myself 4 years ago in c843544
- it would only work correctly for actors spawned by user (Origin::SAVEGAME) .
- it would have no effect for preloaded actors as those are either already spawned at that point, or not installed.
Broken by myself 1 month ago in b3ffea4
- savegames began using the new "bundle-qualified" syntax, i.e. "mybundle.zip:myactor.truck"
- but when loading and detecting preloaded actors, the bundlename was not stripped from the filename, causing none to be found.
@ohlidalp ohlidalp merged commit 4adcd90 into RigsOfRods:master Jan 3, 2025
2 checks passed
@ohlidalp ohlidalp deleted the holy_smokes branch January 3, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants